package com.diankangwo.dto;

import javax.persistence.Column;
import java.util.Date;

public class ShoppingCartDTO {

    private int id;
    /**
     * 商品ID
     */
    private Integer commodityId;
    /**
     * 选择属性
     */
    private String selected;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 用户cookID
     */
    private int userCookId;
    /**
     * 用户IP
     */
    private String userIp;
    /**
     * 商品名称
     */
    private String commodityName;
    /**
     * 购物时间
     */
    private Date shoppingTime;
    /**
     * 是否审核
     */
    private Boolean shoppingCheck;
    /**
     * 购买数量
     */
    @Column(name = "commodityNumber")
    private int commodityNumber;
    /**
     * 商品VIP价
     */
    private float commodityPriceVip;
    /**
     * 商品优惠价
     */
    private float commodityPriceUser;
    /**
     * 商品市场价
     */
    private float commodityPriceShop;
    /**
     * 状态：0：购物车状态 1：订单状态
     */
    private int status = 0;

    /**
     * 商品图片
     */
    private String commodityPic;

    /**
     * 运费
     */
    private float freight;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public Integer getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(Integer commodityId) {
        this.commodityId = commodityId;
    }

    public String getSelected() {
        return selected;
    }

    public void setSelected(String selected) {
        this.selected = selected;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public int getUserCookId() {
        return userCookId;
    }

    public void setUserCookId(int userCookId) {
        this.userCookId = userCookId;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }

    public String getCommodityName() {
        return commodityName;
    }

    public void setCommodityName(String commodityName) {
        this.commodityName = commodityName;
    }

    public Date getShoppingTime() {
        return shoppingTime;
    }

    public void setShoppingTime(Date shoppingTime) {
        this.shoppingTime = shoppingTime;
    }

    public Boolean getShoppingCheck() {
        return shoppingCheck;
    }

    public void setShoppingCheck(Boolean shoppingCheck) {
        this.shoppingCheck = shoppingCheck;
    }

    public int getCommodityNumber() {
        return commodityNumber;
    }

    public void setCommodityNumber(int commodityNumber) {
        this.commodityNumber = commodityNumber;
    }

    public float getCommodityPriceVip() {
        return commodityPriceVip;
    }

    public void setCommodityPriceVip(float commodityPriceVip) {
        this.commodityPriceVip = commodityPriceVip;
    }

    public float getCommodityPriceUser() {
        return commodityPriceUser;
    }

    public void setCommodityPriceUser(float commodityPriceUser) {
        this.commodityPriceUser = commodityPriceUser;
    }

    public float getCommodityPriceShop() {
        return commodityPriceShop;
    }

    public void setCommodityPriceShop(float commodityPriceShop) {
        this.commodityPriceShop = commodityPriceShop;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public String getCommodityPic() {
        return commodityPic;
    }

    public void setCommodityPic(String commodityPic) {
        this.commodityPic = commodityPic;
    }

    public float getFreight() {
        return freight;
    }

    public void setFreight(float freight) {
        this.freight = freight;
    }
}
